package com.whfc.common.third.mas.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 测点名册列表响应类
 */
public class MeasurePointListResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer code; // 编码
    private String msg; // 信息
    private List<MeasurePoint> data; // 测点名册数据列表

    // getter and setter
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<MeasurePoint> getData() {
        return data;
    }

    public void setData(List<MeasurePoint> data) {
        this.data = data;
    }

    /**
     * 测点名册实体类
     */
    public static class MeasurePoint implements Serializable {
        private static final long serialVersionUID = 1L;

        private Integer id; // 测点id
        private String region; // 行政区域代码
        private String name; // 测点名称
        private Integer projectId; // 项目id
        private Integer monitorTypeId; // 监测类型id
        private Integer dataSourceType; // 数据来源，1手动上传，2自动采集
        private String groupName; // 分组名称
        private Integer groupId; // 分组id名称
        private String sn; // 设备sn号
        private String deviceId; // 设备id
        private String deviceKey; // 设备key，传数据用
        private Double longitude; // 经度
        private Double latitude; // 纬度
        private Double height; // 高程
        private String thumbnailUrl; // 缩略图
        private String remark; // 测点描述
        private Attributes attributes; // 属性信息
        private Integer status; // 测点状态
        private String offlineTime; // 离线时间
        private String dataTime; // 测点最后数据时间
        private Integer opUid; // 操作人
        private String opTime; // 操作时间
        private Integer coordinateParamId; // 坐标转换参数的id
        private Integer maintenanceStatus; // 维护状态，0维护1运行
        private Integer deleted; // 逻辑删除字段，0未删除1已经删除

        // getter and setter
        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getProjectId() {
            return projectId;
        }

        public void setProjectId(Integer projectId) {
            this.projectId = projectId;
        }

        public Integer getMonitorTypeId() {
            return monitorTypeId;
        }

        public void setMonitorTypeId(Integer monitorTypeId) {
            this.monitorTypeId = monitorTypeId;
        }

        public Integer getDataSourceType() {
            return dataSourceType;
        }

        public void setDataSourceType(Integer dataSourceType) {
            this.dataSourceType = dataSourceType;
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public Integer getGroupId() {
            return groupId;
        }

        public void setGroupId(Integer groupId) {
            this.groupId = groupId;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(String deviceId) {
            this.deviceId = deviceId;
        }

        public String getDeviceKey() {
            return deviceKey;
        }

        public void setDeviceKey(String deviceKey) {
            this.deviceKey = deviceKey;
        }

        public Double getLongitude() {
            return longitude;
        }

        public void setLongitude(Double longitude) {
            this.longitude = longitude;
        }

        public Double getLatitude() {
            return latitude;
        }

        public void setLatitude(Double latitude) {
            this.latitude = latitude;
        }

        public Double getHeight() {
            return height;
        }

        public void setHeight(Double height) {
            this.height = height;
        }

        public String getThumbnailUrl() {
            return thumbnailUrl;
        }

        public void setThumbnailUrl(String thumbnailUrl) {
            this.thumbnailUrl = thumbnailUrl;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public Attributes getAttributes() {
            return attributes;
        }

        public void setAttributes(Attributes attributes) {
            this.attributes = attributes;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getOfflineTime() {
            return offlineTime;
        }

        public void setOfflineTime(String offlineTime) {
            this.offlineTime = offlineTime;
        }

        public String getDataTime() {
            return dataTime;
        }

        public void setDataTime(String dataTime) {
            this.dataTime = dataTime;
        }

        public Integer getOpUid() {
            return opUid;
        }

        public void setOpUid(Integer opUid) {
            this.opUid = opUid;
        }

        public String getOpTime() {
            return opTime;
        }

        public void setOpTime(String opTime) {
            this.opTime = opTime;
        }

        public Integer getCoordinateParamId() {
            return coordinateParamId;
        }

        public void setCoordinateParamId(Integer coordinateParamId) {
            this.coordinateParamId = coordinateParamId;
        }

        public Integer getMaintenanceStatus() {
            return maintenanceStatus;
        }

        public void setMaintenanceStatus(Integer maintenanceStatus) {
            this.maintenanceStatus = maintenanceStatus;
        }

        public Integer getDeleted() {
            return deleted;
        }

        public void setDeleted(Integer deleted) {
            this.deleted = deleted;
        }
    }

    /**
     * 测点属性信息类
     */
    public static class Attributes implements Serializable {
        private static final long serialVersionUID = 1L;

        private String holeBottomHigh; // 孔底高程
        private String orificeHigh; // 孔口高程
        private String buryHigh; // 埋设深度
        private Integer initZ; // 初始Z坐标
        private Integer initY; // 初始Y坐标
        private Integer initX; // 初始X坐标

        // getter and setter
        public String getHoleBottomHigh() {
            return holeBottomHigh;
        }

        public void setHoleBottomHigh(String holeBottomHigh) {
            this.holeBottomHigh = holeBottomHigh;
        }

        public String getOrificeHigh() {
            return orificeHigh;
        }

        public void setOrificeHigh(String orificeHigh) {
            this.orificeHigh = orificeHigh;
        }

        public String getBuryHigh() {
            return buryHigh;
        }

        public void setBuryHigh(String buryHigh) {
            this.buryHigh = buryHigh;
        }

        public Integer getInitZ() {
            return initZ;
        }

        public void setInitZ(Integer initZ) {
            this.initZ = initZ;
        }

        public Integer getInitY() {
            return initY;
        }

        public void setInitY(Integer initY) {
            this.initY = initY;
        }

        public Integer getInitX() {
            return initX;
        }

        public void setInitX(Integer initX) {
            this.initX = initX;
        }
    }
}